<script src="vue.js"></script>
<div id="app">
    <p>{{msg}}</p>
</div>
<script>
    var ve=new Vue({
        el:'#app',
        data:{
            msg:'我又回来了',
        },
        mounted(){
            console.log("页面挂载之后")
            console.log(this.$refs.innerHTML)
        },
        beforeMount(){
            console.log("页面挂载之后")
            console.log(this.$refs.innerHTML)
        }
    })
</script>